import Vue from 'vue'
import VueRouter from 'vue-router'
import CarView from "../views/car/CarView";
import SalesmanView from "@/views/salesman/SalesmanView";

Vue.use(VueRouter)

const routes = [
  {path:'/car',component:CarView},
  {path: '/salesman',component: SalesmanView}
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router
